package com.example.flowable.model;

/**
 * @Classname TableModelConfig
 * @Description TODO
 * @Date 2022/8/16 22:49
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class TableModelConfig {

    private String fieldName;

    private String fieldType;

    private boolean isNull;

    private Integer fieldLength;

    private Integer pointLength;

    private boolean isKey;


    private String fieldDesc;


    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public boolean isNull() {
        return isNull;
    }

    public void setNull(boolean aNull) {
        isNull = aNull;
    }

    public Integer getFieldLength() {
        return fieldLength;
    }

    public void setFieldLength(Integer fieldLength) {
        this.fieldLength = fieldLength;
    }

    public boolean isKey() {
        return isKey;
    }

    public void setKey(boolean key) {
        isKey = key;
    }


    public String getFieldDesc() {
        return fieldDesc;
    }

    public void setFieldDesc(String fieldDesc) {
        this.fieldDesc = fieldDesc;
    }

    public Integer getPointLength() {
        return pointLength;
    }

    public void setPointLength(Integer pointLength) {
        this.pointLength = pointLength;
    }

    public TableModelConfig() {
        this.fieldName="";
        this.fieldType="varchar";
        this.isNull=false;
        this.fieldLength=255;
        this.isKey=false;
        this.fieldDesc="";
        this.pointLength=0;
    }
}
